﻿using System.Collections.Generic;
using System.Collections.ObjectModel;
using BookTheBook.Data.Model;

namespace BookTheBook.Data
{
    public interface IBookEntitiesDbCommunicator
    {
        void SubmitBooksToDataSource(IEnumerable<Book> books);
        ReadOnlyCollection<Book> GetAllBooks();
        Book GetBookById(int id);
    }
}